﻿
using OA.IService;
using OA.Models;

namespace OA.Service
{
    public partial class SysActionService : ServiceBase<SysAction>, ISysActionService
    {
        public override void SetRepository()
        {
            this.repository = session.SysActionRepository;
        }
    }
    public partial class SysOrgService : ServiceBase<SysOrg>, ISysOrgService
    {
        public override void SetRepository()
        {
            this.repository = session.SysOrgRepository;
        }
    }
    public partial class SysPersonService : ServiceBase<SysPerson>, ISysPersonService
    {
        public override void SetRepository()
        {
            this.repository = session.SysPersonRepository;
        }
    }
    public partial class SysPositionService : ServiceBase<SysPosition>, ISysPositionService
    {
        public override void SetRepository()
        {
            this.repository = session.SysPositionRepository;
        }
    }
    public partial class SysRoleService : ServiceBase<SysRole>, ISysRoleService
    {
        public override void SetRepository()
        {
            this.repository = session.SysRoleRepository;
        }
    }
    public partial class SysUserService : ServiceBase<SysUser>, ISysUserService
    {
        public override void SetRepository()
        {
            this.repository = session.SysUserRepository;
        }
    }
}